const OSS = require('ali-oss')

export function client(data) {
    //后端提供数据
    return new OSS({
        region: "oss-cn-beijing",  //oss-cn-shenzhen.aliyuncs.com
        accessKeyId: "LTAIA23ZmtrDd4kP",
        accessKeySecret: "pdDyQ7Kp5qUHPTDALkMCyuxgSUdB1w",
        bucket: "avators",
        secure:true
    })
}
